package com.ufox.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ufox.entity.Type;
import com.ufox.mapper.TypeMapper;
import com.ufox.service.ITypeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 优狐科技-www.hbufox.com
 * @since 2022-06-09
 */
@Service
public class TypeServiceImpl extends ServiceImpl<TypeMapper, Type> implements ITypeService {

    @Autowired
    private TypeMapper typeMapper;

    @Override
    public List<Type> prodsList() {
        return typeMapper.prodsList();
    }

}
